package com.ruoyi.me.service;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.exception.ProcessStopException;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

@Service
public interface SpatialIndexForecastService {
    AjaxResult getCalculateResult(Map<String, Object> map) throws ProcessStopException;

    AjaxResult download(Map<String, Object> map);

    SseEmitter push(String id, String flag);
}
